package com.example.memurbac_service.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

@ApiModel("角色实体类")
public class Role {
    @ApiModelProperty("编号")
   private int id;
    @ApiModelProperty("角色名称")
   private String role_name;
    @ApiModelProperty("角色描述")
   private String role_desc;
    @ApiModelProperty("角色状态")
   private int  role_status;
    @ApiModelProperty("角色的创建时间")
   private Date role_createtime;
    @ApiModelProperty("角色的修改时间")
   private Date role_modiftime;
    @ApiModelProperty("角色类型")
   private int role_type;
    @ApiModelProperty("权限id列表")
    private List<Integer> authids;

    public List<Integer> getAuthids() {
        return authids;
    }

    public void setAuthids(List<Integer> authids) {
        this.authids = authids;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRole_name() {
        return role_name;
    }

    public void setRole_name(String role_name) {
        this.role_name = role_name;
    }

    public String getRole_desc() {
        return role_desc;
    }

    public void setRole_desc(String role_desc) {
        this.role_desc = role_desc;
    }

    public int getRole_status() {
        return role_status;
    }

    public void setRole_status(int role_status) {
        this.role_status = role_status;
    }

    public Date getRole_createtime() {
        return role_createtime;
    }

    public void setRole_createtime(Date role_createtime) {
        this.role_createtime = role_createtime;
    }

    public Date getRole_modiftime() {
        return role_modiftime;
    }

    public void setRole_modiftime(Date role_modiftime) {
        this.role_modiftime = role_modiftime;
    }

    public int getRole_type() {
        return role_type;
    }

    public void setRole_type(int role_type) {
        this.role_type = role_type;
    }
}
